package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备类型对象 dzbq_devicetype
 * 
 * @author tianxingxia
 * @date 2025-02-03
 */
public class DzbqDevicetype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型ID */
    private Long typeId;

    /** 标签类型 */
    @Excel(name = "标签类型")
    private Long dzbqTypeId;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createUserId;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String title;

    /** 设备类型代码 */
    @Excel(name = "设备类型代码")
    private String typeCode;

    /** 设备宽度 */
    @Excel(name = "设备宽度")
    private String width;

    /** 设备高度 */
    @Excel(name = "设备高度")
    private String height;

    /** 设备版本 */
    @Excel(name = "设备版本")
    private String version;

    /** 固件1 */
    @Excel(name = "固件1")
    private String firmware1;

    /** 固件2 */
    @Excel(name = "固件2")
    private String firmware2;

    /** 设备颜色 */
    @Excel(name = "设备颜色")
    private Integer color;

    /** 是否旋转 */
    @Excel(name = "是否旋转")
    private Integer rotateType;

    /** 是否翻转 */
    @Excel(name = "是否翻转")
    private Integer flipType;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateCreated;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setDzbqTypeId(Long dzbqTypeId) 
    {
        this.dzbqTypeId = dzbqTypeId;
    }

    public Long getDzbqTypeId() 
    {
        return dzbqTypeId;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setTypeCode(String typeCode) 
    {
        this.typeCode = typeCode;
    }

    public String getTypeCode() 
    {
        return typeCode;
    }
    public void setWidth(String width) 
    {
        this.width = width;
    }

    public String getWidth() 
    {
        return width;
    }
    public void setHeight(String height) 
    {
        this.height = height;
    }

    public String getHeight() 
    {
        return height;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setFirmware1(String firmware1) 
    {
        this.firmware1 = firmware1;
    }

    public String getFirmware1() 
    {
        return firmware1;
    }
    public void setFirmware2(String firmware2) 
    {
        this.firmware2 = firmware2;
    }

    public String getFirmware2() 
    {
        return firmware2;
    }
    public void setColor(Integer color)
    {
        this.color = color;
    }

    public Integer getColor()
    {
        return color;
    }
    public void setRotateType(Integer rotateType) 
    {
        this.rotateType = rotateType;
    }

    public Integer getRotateType() 
    {
        return rotateType;
    }
    public void setFlipType(Integer flipType) 
    {
        this.flipType = flipType;
    }

    public Integer getFlipType() 
    {
        return flipType;
    }
    public void setDateCreated(Date dateCreated) 
    {
        this.dateCreated = dateCreated;
    }

    public Date getDateCreated() 
    {
        return dateCreated;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("dzbqTypeId", getDzbqTypeId())
            .append("createUserId", getCreateUserId())
            .append("title", getTitle())
            .append("typeCode", getTypeCode())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("version", getVersion())
            .append("firmware1", getFirmware1())
            .append("firmware2", getFirmware2())
            .append("color", getColor())
            .append("rotateType", getRotateType())
            .append("flipType", getFlipType())
            .append("dateCreated", getDateCreated())
            .toString();
    }
}
